$phone:750;
$remBase:$phone/2/320*20px;
@function torem($size) {
  $remSize: $size / $remBase;
  @return $remSize * 1rem;
}

@mixin media() {
  $width:540 600 640 720 750 768 800 1080 1152 1200 1152 1440 1536 1600 2160;
  @each $one in $width{
    @media only screen and (min-width: #{$one/2}px){
      html {
        font-size: $one/2/320*20px !important;
      }
    }
  }
}
//适配
@include media();

body{
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
a{
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
//字体图标
@font-face {
  font-family: 'iconfont';  /* project id 305314 */
  src: url('//at.alicdn.com/t/font_kg4t0kmcubnsif6r.eot');
  src: url('//at.alicdn.com/t/font_kg4t0kmcubnsif6r.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_kg4t0kmcubnsif6r.woff') format('woff'),
  url('//at.alicdn.com/t/font_kg4t0kmcubnsif6r.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_kg4t0kmcubnsif6r.svg#iconfont') format('svg');
}

.iconfont {
  font-family: iconfont!important;
  font-size: torem(16px);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: torem(.2px);
  -moz-osx-font-smoothing: grayscale;
}
